/*	$ Header: $
 *
 *	Copyright 2011 NCS Pearson, Inc. All rights reserved.
 */

package users.clemka.beans;

/**
 *
 *  @author clemka
 *  @version $Revision: #3 $ submitted $DateTime: $ by $Author: $
 *  @since 2.3.xxxx
 */
public class Config {


	private Integer maxCacheSize;
	private DatabaseParameters parameters;
	private String dateFormat;

	public Config(String dateFormat){
		this.dateFormat = dateFormat;
	}

	public Config(String dateFormat, DatabaseParameters parameters) {
		this.parameters = parameters;
		this.dateFormat = dateFormat;
	}

	public DatabaseParameters getParameters() {
		return parameters;
	}

	public Integer getMaxCacheSize() {
		return maxCacheSize;
	}

	public void setMaxCacheSize(Integer maxCacheSize) {
		this.maxCacheSize = maxCacheSize;
	}

	public String getDateFormat() {
		return dateFormat;
	}

	public void setDateFormat(String dateFormat) {
		this.dateFormat = dateFormat;
	}
}
